package com.aaa.behind.service.impl;

import com.aaa.behind.dao.BAppealMapper;
import com.aaa.behind.service.IBAppealService;
import com.aaa.entity.BAppeal;
import com.aaa.util.PageInfo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 * 商家申诉表 服务实现类
 * </p>
 *
 * @author whj
 * @since 2023-01-05
 */
@Service
public class BAppealServiceImpl extends ServiceImpl<BAppealMapper, BAppeal> implements IBAppealService {

    @Resource
    private BAppealMapper bAppealMapper;
    @Override
    public IPage getPageData(PageInfo page, BAppeal bAppeal) {
        IPage all = bAppealMapper.findAll(page, bAppeal);
        return all;
    }
}
